package com.admin.system.service.tree;

import java.util.List;

import com.admin.system.entity.SystemResource;
import com.admin.system.service.SystemResourceService;

public class RootTree extends ResourceTree {
    public RootTree(SystemResourceService service, Integer status) {
        resources = service.getResources(false, status);
    }

    @Override
    public List<SystemResource> getResources() {
        return resources;
    }
}
